]> dgit.raspbian.org Git - gnome-shell.git/commit
screenshot: Hide screencast button when recorder is disabled
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 27 Apr 2022 13:33:40 +0000 (15:33 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 29 Apr 2022 20:22:32 +0000 (20:22 +0000)
commitb365eb99366f73c7bf16e260076033ae9072a63b
tree2ca4b9266de7610c1043a58ed1e7a14d8c6ddf0f
parent82d336211ac4433d11d8ee9a1bf34b2c508426f8
screenshot: Hide screencast button when recorder is disabled

The screencast D-Bus service that is used for the recordings
is only installed if the necessary gstreamer and pipewire
dependencies are found at build time.

The screencast button cannot work when the service is missing,
so don't show it in the first place.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2450

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2285>
js/misc/config.js.in
js/misc/meson.build
js/ui/screenshot.js